* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}
.container {
  display: flex;
  width: 100vw;
  height: 100vh;
}
.left {
  flex: 1;
  height: 100%;
  background: url("ps.jpg") no-repeat;
  background-size: cover;
  transition: all 1.5s;
  overflow: hidden;
}
.right {
  flex: 1;
  height: 100vh;
  background: url("xbox.jpg") no-repeat;
  background-size: cover;
  background-position: center; /* 图片居中 */
  transition: all 1.5s ease-in-out;
}

.left:hover {
  flex: 3;
}
.right:hover {
  flex: 3;
}

.left-color {
  width: 100%;
  height: 100%;
  background-color: #3737c488;
  position: relative;
}
.right-color {
  width: 100%;
  height: 100%;
  background-color: #00000077;
  position: relative;
}

.title {
  color: white;
  font-size: 60px;
  margin-bottom: 100px;
}

.discription {
  width: 240px;
  height: 74px;
  text-align: center;
  line-height: 66px;
  color: white;
  border: 4px solid white;
}

.discription:hover {
  background-color: #5754ec;
  border-color: #5754ec;
}

.content {
  width: 500px;
  position: absolute;
  left: calc(50% - 250px);
  top: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discription-xbox {
  width: 240px;
  height: 74px;
  text-align: center;
  line-height: 66px;
  color: white;
  border: 4px solid white;
}

.discription-xbox:hover {
  background-color: #1c7a1c;
  border-color: #1c7a1c;
}

